﻿

using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IotContract.Models.Clients.Hks;
[ProtoContract]
public class TrayCellStatus
{
    [ProtoMember(1)]
    public string TrayNo { get; set; }
    [ProtoMember(2)]
    public string EquipmentCode { get; set; }
    [ProtoMember(3)]
    public string RouterCode { get; set; }
    [ProtoMember(4)]
    public int StepNo { get; set; }
    [ProtoMember(5)]
    public string LotNo { get; set; }
    [ProtoMember(6)]
    public int OptType { get; set; }
    [ProtoMember(7)]
    public List<CellStatus> Cells { get; set; }
}

[ProtoContract]
public class CellStatus
{
    /// <summary>
    /// 通道
    /// </summary>
    [ProtoMember(1)]
    public int Channel { get; set; }
    /// <summary>
    /// 状态
    /// </summary>
    [ProtoMember(2)]
    public int State { get; set; }
}
